import React from 'react';
import { Icon } from 'antd-mobile';
import styles from './describe.css';


const Describe = ({
  titleName='',
  content='',

}) => {

  const createMarkup = (text) => {
    return { __html: text };
  };

  return(
    <div className={styles.describeBody}>

      <div className={styles.title}>
        {titleName}
      </div>
      <div className={styles.describeContent}>
        <div dangerouslySetInnerHTML={createMarkup(content)}></div>
      </div>

    </div>
  )
}

export default Describe;
